package com.zed.code.response;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.zed.code.base.BasePage;

import java.io.Serializable;
import java.util.List;

public class StationInfoPage extends BasePage implements Serializable {
	
	private List<StationInfo> StationInfos;

	public StationInfoPage() {
	}

	public StationInfoPage(int pageNo, int pageSize, long itemSize, Long pageCount) {
		super(pageNo, pageSize, itemSize, pageCount);
	}

	/**
	 * 构造函数
	 * 参数: 1.结果集      2.当前页数     3.每页条目数     4.总记录条数    5.页码总数
	 * */
	public StationInfoPage(List<StationInfo> stationInfos, int pageNo, int pageSize, long itemSize, Long pageCount){
		super(pageNo, pageSize, itemSize, pageCount);
		this.StationInfos = stationInfos;
	}
	@JSONField(name="StationInfos")
	@JsonProperty("StationInfos")
	public List<StationInfo> getStationInfos() {
		return StationInfos;
	}
	public void setStationInfos(List<StationInfo> stationInfos) {
		StationInfos = stationInfos;
	}
}
